﻿@model IEnumerable<AuditModel.ScorePercentage>

@{
    ViewBag.Title = "ScorePercentages";
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
}

<h2><text>查看</text>@AuditResources.ScorePercentage.ObjectName</h2>

<table>
    <tr>
        <th>
            @AuditResources.AnnualEvents.ID
        </th>
        <th>
           @AuditResources.Subject.ObjectName
        </th>
        <th>
            @AuditResources.ScorePercentage.PercentofMaterial
        </th>
        <th>
            @AuditResources.ScorePercentage.PercentofInstruction
        </th>
        <th>
            @AuditResources.ScorePercentage.PercentofDefense
        </th>
        <th>
            @AuditResources.ScorePercentage.PercentofOthers
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.AnnualEventID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Subject.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PercentofMaterial)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PercentofInstruction)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PercentofDefense)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PercentofOthers)
        </td>
    </tr>
}

</table>
